STEP 11: Let's complete the dance move.

  • Drop Wait INSIDE the loop. It should be indented twice, one for the key event, and once for the loop. You should see these two colors in front of your command: ········
  • Change the argument in .wait() to the float 0.1.
  • Click Run and then press the space bar to test your program.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)